-- GENERATED SPELL FOR [Garhal] --


function spell0_30147(pUnit, Event) --@Thrash Kick,n/a--
pUnit:FullCastSpellOnTarget(50306,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30147', 622, 1)
end

function Sorts_30147(pUnit, Event)
local choix_sorts_30147 = math.random(0, 0)
if choix_sorts_30147 == 0 then
pUnit:RegisterEvent('spell0_30147', 1, 1)
end
end

function mob30147_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30147', math.random(1500, 3000), 1)
end

function mob30147_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30147_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30147_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30147, 1, 'mob30147_Action')
RegisterUnitEvent(30147, 2, 'mob30147_Leave')
RegisterUnitEvent(30147, 3, 'mob30147_Kill')
RegisterUnitEvent(30147, 4, 'mob30147_Die')
